package com.djakapm.markdown.editor.component.highlighter;

import javax.swing.text.StyledEditorKit;
import javax.swing.text.ViewFactory;

public class MarkdownEditorKit extends StyledEditorKit {
    private ViewFactory markdownViewFactory;

      public MarkdownEditorKit() {
          this.markdownViewFactory = new MarkdownViewFactory();
      }

      @Override
      public ViewFactory getViewFactory() {
          return this.markdownViewFactory;
      }

      @Override
      public String getContentType() {
          return "text/markdown";
      }
    
}
